package com.yc.pre.entity.bo;

import com.yc.pre.entity.bean.PreRole;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * @ClassName PermissionRoleBo
 * @Description 权限角色对应关系
 * @Date 2021/02/08 18:19:55
 * @Created by ccc-j
 * @email ccc-ju@outlook.com
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PermissionRoleBo {

    @ApiModelProperty(value = "权限ID")
    private Long id;

    @ApiModelProperty(value = "权限名")
    private String permissionName;

    @ApiModelProperty(value = "权限URL")
    private String permissionUrl;

    @ApiModelProperty(value = "url所对应的角色名")
    private List<PreRole> roles;

}
